@tailwind base;
@tailwind components;
@tailwind utilities;

/* @font-face {
  font-family: 'pingFang';
  src: url('../public/PingFang-medium.ttf');
} */
.gap-card-shadow {
  border: 1px solid #f3f4f6;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0px 0px 12px 2px rgba(27, 36, 52, 0.02);
}
.MuiList-root hr:last-child {
  display: none;
}
.MuiList-root hr {
  opacity: 0.4;
}
.MuiListItem-divider {
  /* border-bottom: 1px solid rgba(255, 255 255, 0.01) !important; */
}
.red-full-gradient {
  background: linear-gradient(
    269.61deg,
    #ffeab1 -7.12%,
    #ff7978 14.91%,
    #fe543b 95.99%,
    #fe533a 96%
  );
}
.red-gradient {
  background: linear-gradient(
      177.81deg,
      #ff5440 1.84%,
      #fb7c62 14.57%,
      #fefcfb 32.84%
    ),
    #ffffff;
}
.org-gradient {
  background: linear-gradient(180deg, #ff760f 0%, #ffa139 100%);
  z-index: -100;
}
.org-gradient2 {
  background: linear-gradient(180deg, #ff760f 0%, #ffa139 100%);
}
.youni-vip {
  background: linear-gradient(0deg, #fee277 0%, #fed74c 100%);
}
.yellow-gradient {
  background: linear-gradient(63.15deg, #ffc400 18.1%, #fee278 99.27%);
  color: #b38314;
}
.blue-gradient {
  background: linear-gradient(41.99deg, #1c6cff 7.11%, #508aff 90.46%);
  color: #fff;
}
.purple-gradient {
  background: linear-gradient(41.99deg, #813fff 7.11%, #9c77ff 90.46%);
  color: white;
}
.pink-gradient {
  background: linear-gradient(41.99deg, #ff5086 7.11%, #ff6ca0 90.46%);
  color: white;
}
.carpool-gradient {
  background: linear-gradient(41.99deg, #fe8800 7.11%, #ffb62f 90.46%);
  color: white;
}
.green-gradient {
  color: white;
  background: linear-gradient(34.99deg, #58bb2e 12.35%, #88d44f 100%);
}

.course-evaluation {
  font-family: 'Alimama ShuHeiTi';
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  /* identical to box height, or 100% */
  background: linear-gradient(178.47deg, #ffffff 58.61%, #ffe7ce 105.38%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.tag-red {
  border: 1px solid #ffc1ba;
  color: #ff4241;
}
.pink-linergradient-bg {
  background: linear-gradient(
    94.61deg,
    rgba(184, 122, 255, 0.3) 0.49%,
    rgba(184, 122, 255, 0) 103.04%
  );
}
.tag-blue {
  border: 1px solid #b0caff;
  color: #3665ff;
}
.z-bg {
  z-index: -99;
}
.btn-enter {
  transform: translate(100%, 0);
  opacity: 0;
}

.btn-enter-active {
  transform: translate(0, 0);
  opacity: 1;
  transition: all 500ms;
}

.btn-exit {
  transform: translate(0, 0);
  opacity: 1;
}

.btn-exit-active {
  transform: translate(-100%, 0);
  opacity: 0;
  transition: all 500ms;
}
.title-enter,
.title-appear {
  opacity: 0;
  transform: scale(0.8);
}

.title-enter-active,
.title-appear-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 300ms, transform 300ms;
}

.title-exit {
  opacity: 1;
}

.title-exit-active {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 300ms, transform 300ms;
}
.bg-white-mask {
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 1) 9%,
    rgba(255, 255, 255, 1) 100%
  );
}
/* .mask{
  -webkit-mask-image: linear-gradient(to top,#000,transparent);
} */
/* .comment-detail-header {
  background: linear-gradient(to bottom, #ffc285 40%, #ffdbba 60%);
  border-radius: 8px 0px 0px 0px;
} */

.mySwiper {
  padding: 10px;
}

.post-content {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  /* or 171% */

  text-align: justify;

  /* 主要颜色 */

  color: #37455c;
}

.youni-form .rv-input__control {
  text-align: right !important;
}

.youni-form .rv-selector__item {
  width: 100% !important;
  font-size: 0.75rem;
  border: none;
  --rv-selector-checked-color: #ffc400 !important;
}
.youni-form .rv-selector {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

.rv-image__img {
  border-radius: 12px;
}
.rv-uploader__preview {
  border-radius: 12px;
  overflow: hidden;
}
.rv-uploader__preview-delete {
  right: 1px !important;
  top: 0px !important;
  background: transparent !important;
}
.rv-uploader__upload {
  background-color: transparent !important;
  border-radius: 12px !important;
  border: 0.5px solid #f3f4f6 !important;
}

.post-title .rv-input__control {
  font-size: 16px !important;
}
.post-form .rv-input__control {
  text-align: right;
}
.post-form .rv-field__control-wrapper {
  display: flex !important;
  justify-content: flex-end !important;
}

.post-form .rv-cell__value rv-field__value {
  justify-content: flex-end !important;
}
.post-form .rv-field__children{
  text-align: right;
}
.youni-boxShadow {
  box-shadow: 0px 0px 12px 2px rgba(27, 36, 52, 0.04);
}

.bg-PostGroup {
  background: linear-gradient(180deg, #fbfbfd 0%, #f8fafb 100%);
}

/* .waterFall{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 5px;
  grid-template-rows: masonry !important;
} */
.LoginModel-enter {
  opacity: 0;
  transform: translate(100%, -200%);
  transition: all 1500ms;
  /* transform: translateY(100vh); */
  /* height: 0; */
  /* transform: scale(0.9); */
}
.LoginModel-enter-active {
  opacity: 1;
  /* height: 100%; */
  transform: translate(0, 0);
  /* transform: translateX(0); */
  transition: all 1500ms;
}
.LoginModel-exit {
  opacity: 1;
  /* transform: translate(0, 0); */
}
.LoginModel-exit-active {
  /* transition: all 500ms; */
  opacity: 0;
  /* transition: all 500ms; */
}
.alert-enter {
  opacity: 0;
  transform: scale(0.9);
}
.alert-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms;
}
.alert-exit {
  opacity: 1;
}
.alert-exit-active {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 300ms, transform 300ms;
}
/* .demo-sticky--wrapper {
  height: 120px;
} */
.rv-overlay {
  /* background-color: white !important; */
  --rv-overlay-background-color: rgba(255, 255, 255, 0.1) !important;
  height: calc(100vh - 48px) !important;
  backdrop-filter: blur(10px) !important;
  /* back */
  /* --tw-backdrop-blur: blur(40px); */
  /* backdrop-filter: 10px;
   */
  /* @apply backdrop-blur-xl backdrop-opacity-50 text-9xl; */
  /* @apply ; */
  /* @apply backdrop-filter; */
  /* backdrop-opacity: 0.5; */
}
.rv-dialog__cancel .rv-button__text {
  color: #a9b0c0 !important;
}
.rv-dialog__confirm .rv-button__text {
  color: #ffd036 !important;
}
.rv-dialog__header {
  color: #37455c;
  font-size: 18px;
  font-weight: 500;
}
.rv-picker-column__item--selected div {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  /* identical to box height, or 100% */
  text-align: center;
  letter-spacing: 0.04em;
  background: white !important;
  /* 主要颜色 */
  color: #37455c !important;
  -webkit-background-clip: none !important;
  /* -webkit-text-fill-color: transparent; */
  background-clip: none !important;
  -webkit-text-fill-color: #37455c !important;
  transition: color 2s ease;
  -webkit-transition: color 2s ease-out;
  -moz-transition: color 2s ease-out;
  -o-transition: color 2s ease-out;
  transition: background-color 2s ease;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
}

.rv-picker-column__item div {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  /* identical to box height, or 100% */
  text-align: center;
  transition: color 2s ease;
  -webkit-transition: color 2s ease-out;
  -moz-transition: color 2s ease-out;
  -o-transition: color 2s ease-out;
  transition: background-color 2s ease;
  -webkit-transition: background-color 2s ease-out;
  -moz-transition: background-color 2s ease-out;
  -o-transition: background-color 2s ease-out;
  letter-spacing: 0.04em;
  background: linear-gradient(0deg, #a9b0c0 0%, rgba(169, 176, 192, 0) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  flex: none;
  order: 0;
  flex-grow: 0;
}

.rv-dialog-bounce-enter-done{
  box-shadow: 0px 0px 12px 2px rgba(27, 36, 52, 0.1);
}

.card-shadow{
  box-shadow: 0px 0px 12px 2px rgba(27, 36, 52, 0.04);
}

.overflow-wrap{
  width: 80%;
  word-break: keep-all;
  text-overflow: ellipsis;
  display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/
  -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  -webkit-line-clamp: 2; /** 显示的行数 **/
  overflow: hidden;  /** 隐藏超出的内容 **/
}

.topIndex{
  z-index: 9999 !important;
}
.topIndexPlus{
  z-index: 999999 !important;
}
.rv-skeleton {
  --rv-padding-md:0px !important;
  padding: none !important;
}
.header-shadow{
  box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.05);
}

.bgIndex{
  z-index: -9;
}

.course-card-shadow{
  box-shadow: 0px 0px 12px 2px rgba(27, 36, 52, 0.04);
}

.cpicker .rv-input__control{
  text-align: right; 
}

.cpicker .rv-cell{
  padding-left: 0px !important;
  width: auto;
}

.prices{
  --rv-input-text-color: #FF4241 !important;
  --rv-input-placeholder-text-color	:#FF4241 !important;
  /* --rv-number-keyboard-button-background-color:var(--rv-selector-checked-color); */
  --rv-number-keyboard-button-background-color: #FFD036 !important;
}
/* .prices  */
.rv-key--blue{
  background-color: #FFD036 !important;
}

.bottom-theTop{
  z-index: 2000 !important;
}

.bottom-footer-theTop{
  z-index: 2000 !important;
}

.blur-background {
  /* background-color: #fff; */
  /* box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.5); */
  background-color: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(10px);
}
.bottomPlus{
  z-index: 99999999 !important;
}

.gray-pulse{
  background: linear-gradient(260.85deg, #F2F2F2 -1.17%, #F2F2F2 94.12%);

}

.xueqiTag {
  background: linear-gradient(41.99deg, #FE8800 7.11%, #FFB62F 90.46%);;
}

.shadow-footer {
  /* 底部卡片黄色阴影 */

/* box-shadow: 0px 0px 16px 6px rgba(247, 218, 120, 0.04); */
box-shadow: 0px -4px 6px rgba(33, 35, 37, 0.04);
}

.bottomPlusx{
  z-index: 999999999 !important;
}

#demo-simple-select{
  z-index: 99999999999 !important;
}

.MuiPopover-root{
  z-index: 99999999999999999 !important;
}

.css2Overflow-ellipsis{
  /* border:1px solid #ddd; */
  width: 100%;
  word-wrap: normal;
  word-break: keep-all;
  text-overflow: ellipsis;
  display: -webkit-box; /** 将对象作为伸缩盒子模型显示 **/
  -webkit-box-orient: vertical; /** 设置或检索伸缩盒对象的子元素的排列方式 **/
  -webkit-line-clamp: 2; /** 显示的行数 **/
  overflow: hidden;  /** 隐藏超出的内容 **/
}